package org.bigjava;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.embedded.tomcat.TomcatConnectorCustomizer;
import org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory;
import org.springframework.boot.web.servlet.server.ConfigurableServletWebServerFactory;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ImportResource;

//@MapperScan("org.bigjava.mapper")
//将 admin.xml 加载到项目中
//@ImportResource(locations = {"classpath:mapper/admin.xml"})
@SpringBootApplication
//        (exclude= DataSourceAutoConfiguration.class)//说明该类是SpringBoot配置类
public class GuanliApplication {

    public static void main(String[] args) {
        SpringApplication.run(GuanliApplication.class, args);
    }

}
